<template>
    <el-container>
        <el-header>
            <div class="left-panel">
				<el-button type="primary" icon="el-icon-plus" @click="addPage"></el-button>
				<el-button type="danger" plain icon="el-icon-delete" :disabled="selection.length==0" @click="batch_del"></el-button>
			</div>
        </el-header>
        <el-main class="nopadding">
            <scTable ref="table" tablename="应用列表" :apiObj="list.apiObj" row-key="id" stripe>
                <el-table-column type="selection" width="50"></el-table-column>
                <el-table-column label="应用名称" prop="name" width="100"></el-table-column>
                <el-table-column label="英文名称" prop="englishName"></el-table-column>
                <el-table-column label="版本" prop="ver"></el-table-column>
                
                <el-table-column label="业务方向" prop="business"></el-table-column>
                <el-table-column label="图标" prop="ico"></el-table-column>
                <el-table-column label="进入地址" prop="intoLink"></el-table-column>
                <el-table-column label="背景" prop="loginImg"></el-table-column>
                 <el-table-column label="logo" prop="logo"></el-table-column>
                <el-table-column label="操作" fixed="right" align="right" width="230">
						<template #default>
							<el-button-group>
								<el-button text type="primary" size="small">查看</el-button>
								<el-button text type="primary" size="small">编辑</el-button>
								<el-button text type="primary" size="small">删除</el-button>
                                <el-dropdown trigger="click">
                                    <el-button text type="primary" size="small">更多...<arrow-down /></el-button>
                                    <template #dropdown>
                                    <el-dropdown-menu>
                                        <el-dropdown-item :icon="Plus" @click="he(scope)">Action 1</el-dropdown-item>
                                        <el-dropdown-item :icon="CirclePlusFilled">
                                        Action 2
                                        </el-dropdown-item>
                                        <el-dropdown-item :icon="CirclePlus">Action 3</el-dropdown-item>
                                        <el-dropdown-item :icon="Check">Action 4</el-dropdown-item>
                                        <el-dropdown-item :icon="CircleCheck">Action 5</el-dropdown-item>
                                    </el-dropdown-menu>
                                    </template>
                                </el-dropdown>
							</el-button-group>
						</template>
				</el-table-column>
            </scTable>
        </el-main>
    </el-container>
</template>

<script>



export default{

    
    name: '应有配置',
    
    data() {
        return {
            selection: [],
            list:{
                apiObj:this.$API.system.sysApplication.list
            },
        };  
    },
    mounted() {

		},
    methods(){
       
    }
}
</script>

<style>
.el-dropdown{
    margin-left: 5px;
}
</style>